from django.urls import path, re_path
from rest_framework.routers import DefaultRouter
from goods import views

router = DefaultRouter()  # 有根路由
router.register(r'sku', views.SKUModelViewSet)
router.register(r'spu', views.SPUModelViewSet)
router.register(r'spuspec', views.SPUSpecificationModelViewSet)

urlpatterns = [

]
urlpatterns += router.urls
